it does matter. if you set the pointer null and you delete a null ptr you are running into system memory. Plus, you let go of the address of the actual memory. THAT'S BAD!!!